<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<script>
    function searchLeft(id,visitId,name,visitNo,patientId) {
        loadDiv('depositAmountRight', '${ctx}/finance/patPrepayment/loadRight?patPrepayment.id='+id+'&id='+visitId+'&patVisitIndex.name='+encodeURI(name)+'&visitNo='+visitNo+'&patientId='+patientId);

    }
    $("#btnCancel").on('click', function () {
        return formSaveLoad('mainCenterDiv', 'inputForm', '${ctx}/finance/patPrepayment/save?type=2', '${ctx}/finance/patPrepayment/depositAmountIndex');
    })
</script>

<div class="app">
    <div class="content-wrap">
        <div class="wrapper" style="bottom: 50px;">
            <ul class="nav nav-tabs">
                <li class="active">
                    <a href="#"  onclick="loadDiv('mainCenterDiv','${ctx}/finance/depositAmount')">预交金</a>
                </li>
            </ul>
    <section class="panel panel-default">
        <div class="panel-body">
            <div class="col-lg-8" id="depositAmountLeft">
                <jsp:include page="depositAmountLeft.jsp"></jsp:include>
            </div>
            <div class="col-lg-4" id="depositAmountRight">
                <jsp:include page="depositAmountRight.jsp"></jsp:include>
            </div>
        </div>

    </section>
        </div>
    </div>
</div>

